from django.urls import re_path
from . import views

urlpatterns = [
    re_path(r'^list/(?P<category_id>\d+)/(?P<page_num>\d+)/$', views.ListView.as_view()),
    re_path(r'^hot/(?P<category_id>\d+)/$', views.HotView.as_view()),
    re_path(r'^detail/(?P<sku_id>\d+)/$', views.DetailView.as_view()),
    re_path(r'^detail/visit/(?P<category_id>\d+)/$', views.DetailVisitView.as_view()),
    re_path(r'^browse_histories/$', views.HistoryView.as_view()),
]